package encapsulation;

/**
 * @classname:MusicTest
 * @description:
 * @author: Mr.Z
 * @date: 2020/11/28 11:48
 * @version: 0.1
 * @since:1.8
 */
public class MusicTest {
    public static void main(String[] args) {
        Music music = new Music("七里香",3.14,"周杰伦");
        MusicPlay musicPlay = new MusicPlay("QQ音乐播放器");
        musicPlay.setMusic(music);
        musicPlay.transmit();
    }
}
